package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.domain.SmsCoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.CouponVo;

/**
 * <p>
 * 优惠券表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface SmsCouponService extends IService<SmsCoupon> {

    PageResult pageByNameAndType(String name, Integer pageNum, Integer pageSize, Integer type);

    CouponVo getInfoById(Integer id);

    void deleteById(Integer id);
}
